#include<bits/stdc++.h>

using namespace std;

double a[2]={2.455,1.26};
int main(){
    int y;
    double x,z;
    cin>>x>>y>>z;
    if(x*a[y]<z)
        printf("%.2f ^_^",x*a[y]);
    else
        printf("%.2f T_T",x*a[y]);    
    return 0;
}